student={
    "小王":0,
    "小红":0,
    "小明":0,
}
count =0
while count<5:
    name = input("请输入你投票的名字:")
    if name =="小王":
        student["小王"]+=1
    elif name =="小红":
        student["小红"]+=1
    else:
        student["小明"]+=1
    count+=1
print(student)
